|
|
|
|
|
|
|
Learn about the many different Windows common controls |
|
|
|
|
|
|
|
|
Learn to use the controls new to Visual Basic 6 |
|
|
|
|
|
|
|
|
Sample Project Files: \Chapter30\ControlsPart1.vbp |
|
|
|
|
|
|
|
|
Windows Controls in Visual Basic |
|
|
|
|
|
|
|
|
Several OCX files come with the Professional and Enterprise Editions of Visual Basic. In this chapter, youll learn about the standard Windows common controls. Table 30.1 lists some of the controls youll learn about in this chapter. |
|
|
|
|
| Table 30.1 Windows Common Controls. | | Component Description | OCX Name | Controls | | Microsoft Windows Common Controls 6.0 | MSCOMCTL.OCX | TabStrip, Toolbar, StatusBar, ProgressBar, TreeView, ListView, ImageList, Slider, and ImageCombo | | Microsoft Windows Common Controls-2 6.0 | MSCOMCT2.OCX | Animation, UpDown, MonthView, DTPicker, and FlatScrollbar | | Microsoft Windows Common Controls-3 6.0 | COMCT332.OCX | Coolbar | | Microsoft Tabbed Dialog Control | TABCTL32.OCX | SSTab |
|
|
|
|
|
|
To load these controls into your design environment, select Project, Components from the Visual Basic menu. Next, find the name of the component in the list shown in Table 30.1. Also, when you distribute your application at runtime, youll need to make sure you include these OCX files in your setup program. |
|
|
|
|
|